package com.dianrui.agent.adapter;

import android.support.v7.widget.RecyclerView;
import android.view.View;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.dianrui.agent.R;
import com.dianrui.agent.bean.FinaceDetailBean;
import com.dianrui.agent.bean.FinaceDetailSubBean;

public class FinaceSubItemAdapters extends BaseQuickAdapter<FinaceDetailSubBean,BaseViewHolder> {



    public FinaceSubItemAdapters() {
        super(R.layout.item_finace_sub);
    }
    @Override
    protected void convert(BaseViewHolder helper, FinaceDetailSubBean bean) {
        helper.setText(R.id.title,bean.title);
        helper.setText(R.id.discounts,bean.value);

    }
}
